Repository navigation
Conversation
…ement - TRADEMARKS.md (roadmap 109 text) plus the list of files not under MIT: the logo and app icons - README: the licence line points at TRADEMARKS.md; "What stays open" and "Trademarks" notes - LICENSE + tools/agent/LICENSE: Copyright (c) 2024-2026 AlexZ005 and contributors. The MIT text stays exact: a preface inside LICENSE made GitHub's licensee read NOASSERTION (measured), so the excluded files are listed in TRADEMARKS.md instead - CONTRIBUTING: "Licence of contributions" (the right to submit, the AI rule) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ze, popout, Inspector sections arrange = several layout moves in one call (to, close, split, unsplit, group, ungroup, sizes), all or nothing, one Back (a captureLayout before-record applied with applyLayoutRecord). layout list reads; delete has Back; apply asks first over unsaved Code tabs. maximize takes floating windows (Size > Full, or the dock's Maximize). popout / fullscreen put the person's own button up. Inspector and Configure Scene take section (open, collapse, expand) and filter. Refused in a headset, under a window drag and with Lock layout on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rson's own tab, kinds play / press
play_mode {do: start | stop | status, here} starts and stops Play on the person's own screen, always
flat (never VR / AR; Play here gains an additive {flat}), and puts the editor view and selection back on
Stop (viewBack). press_game {hud, value} | {click} presses a HUD control or clicks an object as a player
in their Play, the way the hand does (button pulse, toggle flip + pulse, slider clamp + step, dropdown
text, tabs index; never a text field, never what the player cannot see) and lists the nodes that fired.
Two first-use kinds, each its own question (Always / This time / No per app) and its own Settings >
Privacy row with Revoke; neither is in show's combined question nor covered by an older Allow everything.
Refused in a headset and while the person types or drags. playTool.js rides showTool's chunk (no new
build file). Listing +934 bytes (117007 -> 117941). Unit suite tests/unit/play107b.test.js (15).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…irection words
- faces / select grammar: {slot: index | id | name} = the faces a material slot draws (set_material,
set_uv, uv_unwrap, edit_mesh); bindSlot resolves an id or name per object; a single material draws
every triangle whatever group index a primitive carries (slotOfTri).
- the direction words said once (DIRECTION_WORDS): top/up +y, bottom/down -y, front +z, back -z,
right +x (your right as you face its front), left -x, the object's own axes; schema and error text.
- set_material faces + slot moves those faces into a slot that exists (the UV editor's assign, one
meshgeo message, one undo step); the answer says from which slots and names a slot left empty.
- reads: edit_mesh ops: [] gives each face's slot on a slot list; get_material lists each slot's
face numbers (capped 100, a note past 60k triangles).
- fix: assignTrisToSlot moving every face back onto slot 0 sent groups null, the applier kept the
old groups and the move never landed (by hand in the UV editor too); the after state is explicit
now, as its before state already was.
- vitest tests/unit/lookFaces107b.test.js
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t a slider, stop)
The mock answers hud list (a menu with Start, a Volume slider, a Sound toggle), play_mode (asked once)
and press_game (asked once, then the nodes that fired); the call log carries the fine tool's argument
names (fineKeys, for run {play: {here}}) and play_mode's do, run.mjs matches 'with' on either and 'do',
and run {play, do: status} counts as a read. On this catalog 5/5, on 1.87.0's 0.5/5 (sonnet).
Listing 117007 -> 117941 bytes (+934), measured tokens 47381 -> 47738 (+357, tokens.mjs on the 1.87.0
Worker policy).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ns, tidy, mute / collapse, groups, notes (flow and shader)
- update_flow_nodes: disconnect ("a.out -> b.in" as list_scene prints wires, or an edge id), move ({id, x, y} |
{id, dx, dy} | {id, near}), tidy (graphLayout.layeredLayout on the top level, measured sizes when the editor
measured them), group {ids, label} / ungroup (makeGroup, the editor's own messages), and data muted / collapsed
on any node (they used to be dropped unless already set). Refused while another person holds the flow.
- create_flow_nodes: type "note" {text, title, color, frame: [ids]} (the editor's note / frame card).
- list_scene {flow, positions: true}: each card's [x, y] on that page.
- edit_shader: disconnect, move, tidy on the graph document; get_material {positions: true} reads the cards.
- flowEditCore.js (pure): wire refs, moves, the headless layout model, applyGraphEdits, the debugger answer.
Suite tests/unit/flowEditCore.test.js.
No new wire message: nodecreate / nodedelete / edgedelete / nodedata / nodemove and the shader graph's own write
path, so a 1.87 peer applies every edit; one call = one undo step (the call's batch).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…by tool (person tools)
- flow_debug (connector run {action: "debug"}): status, break / unbreak / clear, step / resume / pause, watch /
unwatch, through flowDebug's own seams (toggleBreakpoint, requestDebug, addWatch). Local by design: this tab's
breakpoints and watches, never node data, never sent; step / resume / pause act only on the person's own Play
and it never starts Play. status is a read (personToolReads).
- select_hud (connector hud {action: "select"}): the HUD Editor opened or brought forward on a screen with
elements picked (hudEditorFocus gains elements; the editor's effect picks them). Rides show's panel kind via
showTool.gateShowKind; refused in Play. Changes nothing in the HUD.
- toolFamilies + tools/agent catalog: run.debug, hud.select; titles.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
set_material {objects, from: uuid | {object, slot}, slot?}: the source's look (every slot, its textures
and their tiling) onto the targets in ONE materials replace per object (replaceMaterials: one undo
entry, the message a peer on an older release already applies). Slots pair by index; a one-slot look
dresses every target slot; from.slot / slot narrow it. A target slot keeps its uuid, name and slot data
(id, off, link); each copied texture gets its own uuid so retiling the copy never moves the source.
A linked slot fans the copy to its other holders; a D2-shared whole material follows a one-material
copy, or is made unique first when the copy makes a slot list. A source shader graph is named, not
copied (assign_shader does that). Pure planner copyMaterialsPayload in lookToolsCore; vitest cases in
lookFaces107b.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nge by tool
- list_hud: each element's style (the set keys only), what edit_hud updates {style} changes.
- edit_hud duplicate [{id, count, dx, dy}]: copies stepped on SCREEN (right / down whatever the anchor; default just
under itself), a panel brings its rows; arrange {ids, op}: the HUD Editor's align / distribute / equalize in
absolute stage rects, written back through each element's own anchor (hudArrange.arrangeRects, the 1280-wide
frame at the HUD's aspect). Same single write path and gesture: one undo step, one hud message.
- hudToolsCore (pure): styleOf, hudFrame, planDuplicate, planArrange. Suite tests/unit/hudNodes107b.test.js.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ho owns what - the proof first (export-licences with LICENCE_BASELINE=1 on a build without this change): the itch and static zips held no engine MIT text, no LICENSES.txt, no ownership line (only the third-party page and the font licences) - LICENSES.txt beside CREDITS.txt: the engine's LICENSE, then the third-party notices as text (exportCore.licencesText); a host without the notices gets the engine text, a link and a warning - scripts/third-party-notices.cjs renderText: the text twin of Settings > Third-party licences; the build emits third-party-notices.txt, export-manifest leaves it out (its text rides LICENSES.txt) - the engine text is a static ?raw import in exportBuilder (a lazy one was a chunk of its own: 900 of the 900 ceiling); the build stays at 899 files, a slim export at 827 of 850 - README.txt: "Your game belongs to you; the engine inside is MIT." - tests: unit exportLicences (16 asserts: text notices, LICENSES.txt order, fallback, the line); e2e export-licences on the built app (itch + static: check-export, LICENSES.txt, notices, README line); battery.json lists it (it skips on a dev server, like its export siblings) - CLAUDE.md: the roadmap 109 entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- set_uv {tileSize: metres | [u, v]} instead of tiling: the tiling is worked out from how many metres
one unit of texture space spans on that slot's faces (world size, the object's scale counts); with
faces it measures the picked faces after their flat projection. An uneven unwrap says the size is
an average. Pure uvMetres (tangent frame per triangle, area-weighted) + parseTileSize in lookToolsCore.
- tileMetres (one repeat's size in metres) beside the tiling in every slot row: set_uv, uv_unwrap
(new coordinates change it), set_material rows of a textured slot, get_material; list_materials
gives each textured slot's tiling.
- vitest cases in lookFaces107b (a 4 x 2 m front with 0.5 m bricks tiles 8 x 4; twice the scale, 16 x 8).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tools/agent catalog regenerated: run {debug} = flow_debug, hud {select} = select_hud; update_flow_nodes,
edit_shader, get_material, list_scene, edit_hud / list_hud grow their fields. Written briefs for
update_flow_nodes (the automatic one stopped before the hand actions), flow_debug, select_hud, edit_hud;
the run / hud family summaries name debug / select. Pins refreshed.
- Listing 117,007 -> 119,450 bytes (+2,443; budget 125,000); measured tokens (sonnet, tokens.mjs through a
stand-in for the Worker policy: the cloud repo is not on the Mac) 47,381 -> 48,487 (+1,106).
- tests/agent-eval: scene-nodes.json (a door and a lamp with flows, a HUD menu); five requests nodes-unplug,
nodes-tidy, nodes-breakpoint, hud-line-up, hud-show-score; the mock answers list_scene {flow} and list_hud
from the room and logs a family call's inner argument names, and a request's `with` reads them. On the five:
v1.87.0 1.5 / 5, this branch 5 / 5 (0 of 34 calls refused).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on use
- e2e connector-nodes-107b (80 checks, ~45 s on the Mac, drawing paused once B has the scene): the row's proof (a
wire deleted by tool is gone in the second tab; one undo step puts it back), then "a -> b" takes both wires,
refusals change nothing, move / near / positions read back, tidy (one step for the whole layout, the same places
on B), mute / collapse, group / ungroup, a framing note; shader disconnect / move / tidy and get_material
{positions}; the Debugger's breakpoints and watches stay in A (B has none), step refused outside Play; HUD styles,
arrange across three anchors, duplicate, select_hud (A's HUD Editor picks them, B and the HUD untouched).
battery.json: connector-nodes-107b 90.
- update_flow_nodes loads graphLayout only for tidy (as convert loads its applier): it lives in the Node editor's
chunk. Measured: the build lists 900 files (v1.87.0: 899; ceiling 900) because a tool's use of it makes it a chunk
of its own either way.
- CLAUDE.md: the 107b N1 entry (index regenerated).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…07b with a 1.84 peer and a 1.84 scene - catalog.json regenerated; set_material / set_uv briefs name from, faces + slot and tileSize; pins refreshed. Listing 117,007 -> 117,702 B (+695), measured tokens 47,381 -> 47,649 (+268). - eval: m1-copy-look, m1-sides-wood, m1-tile-metres, m1-which-faces, m1-front-red; run.mjs `with` takes a list and a family call's own fields (the mock logs them as inner); the mock's table is a slot list with faces per slot and tileMetres. - e2e connector-faces-107b (two tabs, drawing paused, no frames): faces of a slot, copy, tile size, read back on B and undone; OLD_APP_URL: a peer on an older release draws all of it; a scene saved by v1.84.0 (fixtures/faces-184.tpscene + .expected.json, FACES_RECORD=1 re-records) loads with every slot as 1.84 read it. battery.json 120. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…DE.md, the export-files ceiling connector-play-107b (two tabs, drawing paused once B has the scene): a press outside Play is refused; play start asks (kind play), A plays flat and B does not (B only hears the presence), Privacy lists it; THE PROOF ROWS: a tool press of Start fires the same nodes as the button's own click handler, asks once on its own (kind press), and B gets the same stamp; a shared slider reaches B; a text field and a button on another screen are refused; Stop leaves the editor view exactly where it was (also after Play here); Revoke asks again; No starts nothing; a headset refuses. 38/0 on a Deck slot (~90 s); battery.json 200 s. The press reads the game and HUD stores itself and keeps a pure copy of runtimeCore's firedBetween (firedSince, pinned equal by a unit test): importing runtimeTools / runtimeCore from show's chunk split both out of the agent tools' chunk (902 export files, ceiling 900); back to 899 as on v1.87.0. lock-search re-recorded (LOCK_RECORD=1): the two Privacy rows (Start and stop Play for me, Press game buttons for me) join 14 queries; additions only, 364 queries before and after, nothing lost, the Inspector half unchanged. CLAUDE.md 107b P1 entry + index; contract.js notes the two person tools (the int names the version). Two JSDoc lines that svelte-check read as code fixed (ratchet back at 272/37). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
connector-layout-107b (one page): arrange + exact Back, all or nothing, group, Lock layout and headset refusals, layout list/delete + Back, the proof row (apply over unsaved Code tabs asks first), floating maximize, popout and fullscreen buttons, Configure Scene section / collapse / filter. connector-show-panels section 8 answers the new apply question. Five eval requests (run.mjs learns state); show layout list is a read. showLayout is imported statically: a chunk of its own put the full build at 901 files, over the 900 ceiling. CLAUDE.md entry 107b L1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # src/lib/ai/lookTools.js # tests/agent-eval/mock-connector.mjs # tests/agent-eval/requests.json # tests/agent-eval/run.mjs
# Conflicts: # CLAUDE-index.md # CLAUDE.md # src/lib/agent/toolFamilies.js # src/lib/ai/personToolNames.js # src/lib/ai/personTools.js # tests/agent-eval/mock-connector.mjs # tests/agent-eval/requests.json # tests/agent-eval/run.mjs # tests/unit/showScene.test.js # tools/agent/catalog.json # tools/agent/src/catalog.js # tools/agent/src/listingBriefs.js # tools/agent/test/listing-brief-pins.json
# Conflicts: # CLAUDE-index.md # CLAUDE.md # tests/agent-eval/mock-connector.mjs # tests/agent-eval/requests.json # tests/agent-eval/run.mjs
…n every export # Conflicts: # CLAUDE-index.md
- net-handshake: wait for the mesh edge's getmodulestate on B before snapshotting __rx (deployed-build race) - sprite2d-compat: release build from SPRITE_OTHER_DIR, LJ_OTHER_DIR or <tree>/build-base (the v1.78.0 sibling dir is gone); /build-base ignored - physics-pace: premise the A/B frame ratio a handoff needs (1/HANDOFF_MARGIN), raising the throttle to 16x / 24x while it falls short; section 2 back at 8x - agent-assist: section 6 SKIPs on built apps (no /src modules there) - connector-look-107: hold the injected lock in the store before the locked set_material call - battery-desk: outcomes.jsonl rows name the slot that ran each attempt (+ retrySlot, host), not just 'queue' - battery.json: connector-layout-107b (107b-layout never listed it; batteryDesk unit red on the union) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…artedBy: person; stop it only when asked status and stop say startedBy 'person' when the person pressed Play; play_mode's description (what_can_you_do's detail) and its listing brief say to stop such a Play only when they ask. Unit rows in play107b. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…changed
set_material {from} answers objectsChanged (this object + the duplicates sharing its material + linked slot holders) and
the note says 'N objects changed in all.' when more than one did. Unit row in lookFaces107b.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… merge, recalc_normals, triangulate, quads without a session The toolbox's operators through the same kernel ops and commit (meshgeo + its history kind), one undo step a call; faceLoopRing / quad topology take a frame so the agent's loop cut walks the session's own ring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… one lazy file A codeSplitting group (priority below every boot group) holds the Node editor's Tidy layout and Convert to code, both lazy, both reached by the Node editor and update_flow_nodes; 107b-nodes had made graphLayout a file of its own. Full build 900 / 900, slim export 828 / 850; boots unchanged (play 1712.0 / 1715, editor 2618.8 / 2740 KB gz). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he Preview; next / previous through the window's own walk The assistant's preview goes through the Preview window's own show / step (fileWindows.requestPreview), the Explorer landing on the file's folder first so the arrows walk the same folder. Rides show's panel kind; Back restores the window and the Explorer folder. Never pins the Preview tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts, boolean_objects, convert_to_mesh) The Arrange rows and Mesh > Boolean / Convert to mesh through align.js, meshBoolean and convertToMesh: the hand edit's messages, one undo step (no nested batch flush), the selection left alone, held objects named. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d / full, fps / memory / stalls in status
perf_recording in the person's own tab only: start {mode detailed (default, 1-60 s, default 10) | light, name, wait},
stop, status, list, read {recording} in words (fps, frame time judged by the limits of the device it was RECORDED on:
phone 34/50, headset 11/13.9, desktop 20/33 ms p95; stalls with when; the slowest objects, materials, shadow casters,
transparent overdraw and CPU phases from a detailed recording), compare {a, b} (the Profiler's Compare in words),
rename, keep = a .tpprof file in the Library root marked share "no" (never shared by itself). The person sees a line
with Stop while it records; the tool never starts over or silently replaces a recording the person started.
Nothing is sent: no live peer stream is reachable from the tool. Rides the ui-state chunk (no new build file).
The Explorer gains a .tpprof kind (perf, gauge icon, filter "Performance recordings"); a double-click opens it in
the Profiler. set_quality: + low, hold (the chip's hold), full (Keep full quality for this page session), each behind
the same Allow / Keep card with Undo; restore undoes hold / full too. status.sceneBudget: + fps, memory {jsHeapMB,
geometries}, stalls {slowFrames over 100 ms in the ring, longTasksPerMin, longestTaskMs}.
Unit: perf107b (13), perfQuality107b (5), agentBudgetReport (+2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
run {record} = perf_recording in CONNECTOR_FAMILIES and toolFamilies; lean brief; status and set_quality briefs name
the new fields and levels; catalog.json regenerated, brief pins refreshed. Listing 122,099 -> 122,977 bytes (+878),
measured tokens 49,515 -> 49,866 (+351, sonnet, tokens.mjs on the Worker catalog). Eval: r1-record-slow, r1-compare,
r1-keep, r1-quality-low, r1-fps (mock answers in mock-connector; run {record} status / list / read / compare are reads).
battery.json: connector-perf-107b 150 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Listing (stand-in policy, 37 tools): 122,099 -> 124,328 B (+2,229: scene +1,020 listed whole, files +864, assets +199, show +146); measured tokens 49,515 -> 50,322 (+807, sonnet). Eval rows f1-find, f1-preview, f1-restore, f1-save-tabs, f1-replace (before lean-retry): base 0.5/5, branch 5/5, 0 of 15 calls refused. The mock answers files find / save / replace and scene versions / restore (asks first) as the tab does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Notes: list_scene {notes}, update_objects note / "note:<id>" (note, name, reply), delete_objects "note:<id>", through
the note card's own writers (annotation message + undo kind), author line "Claude for <person>". Layers:
"layer:<name>" rows (name, color, locked; made when new), delete removes it, list_scene lists the table. View (this
device, show's camera kind, one Back): camera {note, savedView ("start"), move}, show {action: "view"} saved views,
shading, grid, snap, layers hidden here; game_setup play_camera openingView "here". Notes and layers ride the
propPaths chunk, the view rides show's: no new build file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…03 tokens) Briefs for list_scene (notes, the Open tasks note), show (camera note / savedView / move, view), edit_mesh, the three new edit_shape actions and play_camera openingView "here"; solidify takes distance and the loop cut amount (no new field names), nested view objects are checked by showView itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… HUD) 107b-nodes added a scene-scoped case 'list_hud' above 107b-play's; the first label wins, so every play row saw a scene with no HUD (p1-press-start / p1-volume failed on the union, 5/5 on the lane). One case now: the room's own HUD when it has one, else the menu HUD. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, drawing paused), the open-tasks listing check Eval s1-note, s1-closer, s1-line-up, s1-merge-lamp, s1-snap-grid (the mock's update_objects inner carries row keys). update_objects' listing keeps its property-path sentence (my clauses join it with semicolons). e2e 44/44, 37 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…own step; a version restore with others is the room proposal
- tpAgent: a person-tool call that makes a scene undo step (files {replace}, personToolEdits) runs in one history batch
under the action log's observer like every other connector edit, so undo_last takes it back (an unobserved entry
read as the person's own and also blocked undoing the call before it). agentLogSummary words it.
- scene restore of a SAVED version with others in the scene: a local load did not hold (the room's re-sync brings its
live objects back), so it is the room's proposal (requestLoadPayload) as the row says; the pointer moves when it
applies. Alone: Version history's own restore, as before.
- replace: a primitive has a model to replace by hand too (isReplaceableModel); the refusal names what has none.
- e2e connector-files-107b (two tabs, drawing paused): 73/73, ~45 s on the Mac.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es on the three new edit_shape tools Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The branch built 8 more chunk files: filesTool's dynamic import of worldTools split it (and its static deps) out of the tools chunk; prefabLibraryCore and codeFind split by a second importer. Now: lib: / pack: ids are read in filesTool, the two prefab-library readings are written out in worldTools, and filesCore keeps a copy of the Code tab's Find matcher that files107b asserts answers exactly as codeFind does. Export manifest 901 files = the base f9e3174 (the union is 1 over the 900 ceiling before this lane). battery.json: connector-files-107b 90. CLAUDE.md: the 107b F1 entry (index regenerated). svelte-check 272/37 = baseline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ntry One page through the fake relay: a read grant reads but cannot start; a named detailed recording with wait answers in words judged by this device's limits while the person sees a line with Stop; a second one after 40 more boxes; THE PROOF ROW: after a reload both named recordings are still there, read finds one by name and compare answers with the two; keep writes After boxes.tpprof to the Library root (kind perf, share "no"); the tool never starts over the person's own recording; set_quality hold / low ask on the card (Allow holds, restore releases, Keep changes nothing); status.sceneBudget carries fps, memory and stalls. 41/41 on a local slot. The quality card says "Only this screen changes." as a sentence of its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… whatever rc; h.finish in the wave 1/2 lane suites battery-desk: attemptOk = rc 0 AND no FAIL line, at every first/retry/resume/import verdict; fingerprints for an rc-0 log that printed FAIL lines. battery.cjs counts: the suite's own FAIL lines only (FAIL\b), never a FAILED or FAILURES word. Unit tests both directions (desk + queue). connector-faces-107b, -play-107b, -grants-107b, -history-107b, agent-rig end in h.finish(browser) now (a failed check exits 1); connector-timeline already did (h.finish?.). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tier3-base # Conflicts: # CLAUDE-index.md
…ier3-base # Conflicts: # CLAUDE-index.md # CLAUDE.md # tests/agent-eval/mock-connector.mjs # tests/agent-eval/requests.json # tools/agent/catalog.json
…tier3-base # Conflicts: # CLAUDE-index.md # CLAUDE.md # src/lib/ai/personTools.js # src/lib/ai/showTool.js # tests/agent-eval/requests.json # tests/e2e/battery.json # tests/unit/showScene.test.js # tools/agent/catalog.json # tools/agent/src/listingBriefs.js # tools/agent/test/listing-brief-pins.json
…de:9 ruling 29 Nov; union 127,792 B core catalog) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elte-check 273 -> 272: c13aff5's 'a.fail is possibly undefined') Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stant"})
The connector tab answers its own tool assistant_task: the task runs in the
person's tab on THEIR AI provider, and the reply goes back to the app marked
as data. New first-use kind `assistant` (keyed app + kind, Privacy row +
Revoke; an "Allow everything" saved on 1.87.0 or given now never covers it).
- no escalation: the run's tool calls go through the dispatcher's own checks
(blocked list, schema, scope) and act as the asking app (pinned), so a tool
the app is refused or asked for is refused or asked the same way
- no loops: a hand-over run is never offered assistant_task or the connector's
own tools, and is refused them if it names one
- limits: 2000 characters, 6 per 10 minutes, the Assistant's 12-step limit;
viewer / look-only / no provider refused with the reason
- one at a time (a second waits up to 90 s, then busy; the app's own edits are
refused busy while a run goes); the whole hand-over is ONE undo step
- an on-screen line with the app, the first 120 characters and Stop; Stop
keeps what was done in the undo step
- status.assistant {available, busy, providerSet}; what_can_you_do says when
to hand over and when to act directly
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- e2e connector-assistant-108: one connector tab, the Assistant's provider stubbed by page.route (no real provider, no real key), holds in a page fetch wrapper; the proof rows: both at once (second waits, one undo each), no play grant (answered the way the app is), refused surface, no hand-over from a hand-over, the line + Stop under Always, Stop keeps what was done - eval: a1-handover / a1-direct / a1-reply / a1-wait, the mock answers assistant_task; the scorer's opt-in `first` field (a hand-over before its reply: true never counts as a wrong first call) - CLAUDE.md entry + index Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…TCH 901 -> 900)
Any import of ai/aiState.js from the connector chunk, static or import(),
changed aiState's boot-chunk signature (boot-chunk-groups) and split it out of
the chunk it shared: one file more, the full build at 901 of 900. aiState now
registers {aiBusy, aiStatus, setHandedRun} in connectorStore (a leaf both
already share) and handover.js reads it there; a page without the Assistant
refuses the hand-over with the reason. Build 900/900, slim 828/850 = base.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…earches; the suite connects before the provider
- the section keywords lose 'credits' (it holds "edit") and 'hand over' ("hand"),
and the row says "a line on your screen" instead of "shows": the lock-search
re-record showed "Show in edit" and "hand" listing the whole Privacy section
- connector-assistant-108 adds the stubbed provider after the tab connects (an
enabled provider turns the AI window into the chat, hiding Connect Claude)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y: the Give tasks row in 10 queries); the suite opens the AI window first Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…per 10 minutes it proves) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…holds for the session - "This time" runs the hand-over it answers and nothing more: no session answer is stored, so the next hand-over (which may cost the person credits again) asks again. Always stays per app. - A No holds: it is recorded when the person presses it (personAsk gains an optional onAnswer hook), whether or not the app reads the answer; later hand-overs from that app in this page are refused without a card and say so (the person can still allow it in Settings > Privacy). One open hand-over question per app at a time. - Unit rows for both; the e2e suite answers This time first and proves the next hand-over asks again (section 3 now runs before section 2, so the suite still starts 5 of the 6 runs the pace allows), and after No the next one is refused without a card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…onnection that handed it over Two apps the Worker cannot name are both "An AI app", so `current` / `finished` keyed by the app name let one read the other's reply. The run, its kept reply and its consent question are now keyed by the frame's connection (the app's name only when a frame carries none): `reply: true` from another connection answers "No hand-over of yours", and a confirmId asked for another connection's hand-over is refused. Unit rows (two unnamed apps; two connections of one app name) and an e2e row (another connection asks for the running reply). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…is in the background
The line with Stop is the consent surface under Always, so a hand-over is refused while the tab is hidden ("the
person's tab is in the background", code `hidden`), before any card and again just before the run starts. A run
already going goes on; its closing line is now a sticky card with its close button (it stays until the person
closes it, also when the run ended while the tab was hidden). Unit row and e2e rows (refused while hidden, no card,
the running run goes on; the closing line stays).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…isting brief say it The person is asked each time unless Always (This time is this one task), a No holds for the session, and a hand-over is refused while the person's tab is in the background. Catalog regenerated, brief pins refreshed; the connector listing grows by 78 bytes (128,696 -> 128,774 in the agent package's count, budget 135,000). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review follow-up: the five requested changes (delta on top of 3986ca1).
The assistant_task description and listing brief now say this (aab1794; listing +78 B, agent package count 128,774 of 135,000). Tests: unit handover108 27/27 (one or more rows per change); e2e connector-assistant-108 (e2e-slot --local, Deck) rc 0, 50 pass, 0 fail, with a row per change: This time then asked again, another connection cannot read the running reply, refused while hidden with the run going on, the closing line stays, after No the next one is refused without a card. Section 3 now runs before section 2, so the suite still starts 5 of the 6 runs the pace allows. check-ratchet 272/37 = baseline, check:tokens and check:emoji clean, npm run build rc 0 (export 900/900, slim 828/850). Settings rows and card text are unchanged, so the lock-search fixture is not re-recorded. |
Roadmap 108 row A1: an AI app hands a task to the person's own built-in Assistant.
Stacked on
lane/107b-tier3-base(9c09dd8). Merge after 107b-tier3. It rides 107b-int-3 if that is ready, else 108-int-1.What it does
run {action: "assistant", task}maps to the tab's own toolassistant_task. The dispatcher answers it itself, likejoin_session, and it is never in the in-app Assistant's own tool list. The task runs in the person's tab on their AI provider, on a fresh transcript that is never added to their chat. The task is shown to the Assistant as coming from"<app>", not from the person. The reply goes back marked as data:reply: {from: "the person's Assistant", data: true, text}.status.assistantis{available, busy, providerSet: yes|no}. It never carries a key, a provider address or an account.what_can_you_dogainshandOver: act directly for what the person asks, and hand over only when they ask you to give the task to their Assistant.busy. The app's own non-read calls are refusedbusywhile a run goes. A hand-over while the person's own prompt runs is refusedbusy. The whole hand-over is one undo step.running.reply: truewaits again.Consent proof
assistant: "Give tasks to your Assistant. It uses your own AI provider and may cost you credits." It is keyed by app + kind, has its own Settings > Privacy row ("Give tasks to my Assistant") and a Revoke.handover108and e2econnector-assistant-108§1 write the exact bytes 1.87.0 saves after Allow everything plus Always on Undo and every look kind ({"Claude":["panel","camera","code","undo","sky","light","post","bake","preset"]}), then show that the first hand-over is asked (needsConfirm) and that nothing reaches the provider while it asks.combinedKindsexcludes it, anduiState107assertsalwaysAllowedis false for all four 107b/108 kinds.No-escalation and no-loop proof
dispatcher.innerCall, which applies the same blocked list, schema check and scope as the app's own calls, then the sameagent.exec, with the asking app pinned aswho(). Grant questions and refusals are therefore the app's, never "The assistant"'s. The e2e test grants Play to "The assistant" and not to the app. A hand-over of "start Play" is then answered the way the app's own call is (asked, or refused), and Play does not start (§3). A refused surface (Settings) is refused inside the run exactly as for the app (§3). The vitest file checks the refusal text names the asking app (ChatGPT must be asked first), and that blocked tools and bad args get the same codes.assistant_task,status,screenshot,wait_for_edit,join_session,where_are_usersorwhat_can_you_do, and is refused them if it names one ("A hand-over cannot start a hand-over", "...cannot call the connector"). The e2e test shows that a run asking forassistant_taskgets the refusal and that no second run starts (§3). The vitest file covers the same forstatusandwhere_are_users.Listing (real Worker catalog,
sync-catalog --from-core,tokens.mjs, sonnet)That is under the 3 KB cap and the 135 KB / 55k ceiling. There is no new connector name:
rungainsassistant, with full text behindwhat_can_you_do {tool: "run", action: "assistant"}. The brief pins are refreshed.Evals (mock connector, sonnet, lane catalog)
a1-handover pass, a1-direct pass (it acts directly and does not hand over when not asked), a1-reply pass, a1-wait pass (a hand-over, then
reply: true). The neighbouring rows p1-play, p1-press-start and r1-record-slow pass.run.mjsgains an opt-infirstfield so a row can name the call it expects before its pass call. No other row changes meaning.Gates
e2e on the Deck (
e2e-slot --local, one sequential chain, drawing paused, ends withh.finish):connector-assistant-108rc 0, pass39 fail0. The suite's earlier sections used up the 6-per-10-minutes limit and failed its own later rows, so section 3 is now one hand-over and the suite fits the limit it proves. The vitest file proves that the 7th is refused.lock-searchre-recorded withLOCK_RECORD=1, then verified: rc 0, fail~0. The change is additions only: the "Give tasks to my Assistant" row in 10 queries. A first take pulled the whole Privacy section into the "Show in edit" and "hand" searches, because the keywordcreditscontains "edit". The keywords are now narrower.check-ratchet 272/37 (= baseline), check:tokens clean, check:emoji clean.
npm run buildrc 0: export 900/900, slim 828/850, both equal to the base. A first version importedaiStatefrom the connector chunk, which split it out of its boot chunk (901/900). aiState now registers its stores inconnectorStore.connector-assistant-108is added tobattery.json(150 s).vitest
handover10821/21. Full unit run: 8936 pass, 1 red that passes alone (rejoinLinkson one run,sim/behavioursloop guard on another, both untouched here, both green alone twice). Agent packagenpm testrc 0.🤖 Generated with Claude Code